using ERPBackend.Models;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace ERPBackend.Services
{
    public interface ISupplierQualificationService
    {
        Task<IEnumerable<SupplierQualification>> GetQualificationsBySupplierIdAsync(int supplierId);
        Task<SupplierQualification> GetQualificationByIdAsync(int id);
        Task<SupplierQualification> CreateQualificationAsync(SupplierQualification qualification);
        Task<bool> UpdateQualificationAsync(SupplierQualification qualification);
        Task<bool> DeleteQualificationAsync(int id);
        Task<bool> ChangeQualificationStatusAsync(int id, byte status);
    }
}